package com.citic.dao;

public class PersonDao {
    private String name;

    private String value;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public int add() {
        System.out.println("add person");
        return 0;
    }

    private int query() {
        System.out.println("query person");
        return 1;
    }

    public int delete() {
        print();
        System.out.println("delete person");
        return 2;
    }

    public void print() {
        System.out.println("print");
    }




}
